<template>
  <div class="box">
    <a href="https://vitejs.dev" target="_blank">
      <img src="/vite.svg" class="logo" alt="Vite logo" />
    </a>
    <a href="https://vuejs.org/" target="_blank">
      <img :src="vueImg" class="logo vue" alt="Vue logo" />
    </a>
    {{ store.double }}
    <div style="height: 100vh; overflow: auto">
      <div class="box" id="1_test">23</div>
      <div class="box" id="2_test">23</div>
      <div class="box" id="3_test">23</div>
      <div class="box" id="4_test">23</div>
      <div class="box" id="5_test">23</div>
      <div class="box" id="6_test">23</div>
    </div>
  </div>
  <HelloWorld msg="Vite + Vue" />
</template>
<script setup lang="ts">
import { useCounterStore } from '@/store/modules/dome'
import vueImg from '@/assets/vue.svg'

const store = useCounterStore()
</script>
<style scoped lang="scss">
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
.box {
  height: 50vh;
}
</style>
